import {MapOptions} from 'ol/PluggableMap';
import {ControlOption, ProjectionOption, ViewOption} from './index';
import {InjectionToken} from '@angular/core';

export interface DcMapOptions extends MapOptions {

    /**
     * 视图属性
     */
    viewOption: ViewOption;

    /**
     * 投影属性
     */
    projectionOption: ProjectionOption | string;

    /**
     * tk
     */
    tk?: string;

    /**
     * 控制器属性
     */
    controlOption: ControlOption;
}


export const SB_MAP_OPTION_INTERCEPTOR = new InjectionToken<DcMapOptions>('SB_MAP_OPTION_INTERCEPTOR');
